package cn.com.chengmandian.bike.service;

import cn.com.chengmandian.bike.model.EbDeviceBike;
import cn.com.chengmandian.bike.model.EbRentOrder;
import cn.com.chengmandian.bike.model.EbRentPenalty;
import cn.com.chengmandian.service.bike.constants.RentStopTypeEnum;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 * 电单车运营-分时租赁-罚金 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2023-07-10
 */
public interface IEbRentPenaltyService extends IService<EbRentPenalty> {

    void rentPenalty(EbRentOrder rentOrder, EbDeviceBike ebDeviceBike, Boolean isStationDispatch);

    void createRecord(Integer areaId, Integer orderId, Integer memberId, RentStopTypeEnum stopTypeEnum, BigDecimal stopMoney, BigDecimal money);

    EbRentPenalty getByOrderId(Integer orderId);

    EbRentPenalty getByMember(Integer memberId);

    void addPayRecord(Integer id, Integer id1, String payNo);

    EbRentPenalty getByPayId(Integer payId);
}
